package com.yanqu.road.entity.rank.stronghold;

import com.yanqu.road.entity.union.UnionBaseInfo;

import java.math.BigInteger;

public class CrossActivityUnionRank {

    private int activityId;

    private int conditionType;

    private long serverId;

    private String unionUid;

    private UnionBaseInfo unionBaseInfo = new UnionBaseInfo();

    private BigInteger value;

    private long lastUpdateTime;

    private boolean del;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(String unionUid) {
        this.unionUid = unionUid;
    }

    public UnionBaseInfo getUnionBaseInfo() {
        return unionBaseInfo;
    }

    public void setUnionBaseInfo(UnionBaseInfo unionBaseInfo) {
        if (unionBaseInfo != null) {
            this.unionBaseInfo = unionBaseInfo;
        }
    }

    public BigInteger getValue() {
        return value;
    }

    public void setValue(BigInteger value) {
        this.value = value;
    }

    public long getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(long lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public int getConditionType() {
        return conditionType;
    }

    public void setConditionType(int conditionType) {
        this.conditionType = conditionType;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public boolean isDel() {
        return del;
    }

    public void setDel(boolean del) {
        if (this.del != del) {
            this.del = del;
        }
    }
}
